package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 用户收益记录表
 * </p>
 *
 * @author zfy
 * @since 2020-08-13
 */
@Data
@TableName("sys_user_profit_log")
public class SysUserProfitLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "user_profit_log_id", type = IdType.AUTO)
    private Long userProfitLogId;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 订单号
     */
    private String outTradeNo;

    /**
     * 收益
     */
    private Double profit;

    /**
     * 创建时间
     */
    private LocalDateTime creaTime;

}
